﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>贪吃蛇大作战--websocket+canvas</title>
    <link href="~/Scripts/bootstrap3.3.7/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Scripts/layer/skin/layer.css" rel="stylesheet" />
    <style>
        .container{width:970px;}
        #canGame{ margin:auto; width:940px;height:600px;}
    </style>
</head>
<body>
    <div class="container">
        @*登录页*@
        <div id="divWelcome">
            <div class="jumbotron">
                <h1>Hello, Snakes!</h1>
                <p>这是一款模拟贪吃蛇大作点游戏的网页版！</p>
                <form class="form-inline" role="form">
                    <p>
                        <input id="iptName" class="form-control" type="text" name="iptName" value="" placeholder="写上自己的大名" />
                        <a id="btnLogin" class="btn btn-primary btn-lg disabled" href="#" role="button">我不服</a>
                        <a id="btnLoser" class="btn btn-primary btn-lg disabled" href="#" role="button">我服了</a>
                    </p>
                </form>
            </div>
            <p class="text-right text-primary">适度游戏益脑 沉迷游戏伤身 合理安排时间 享受健康生活！</p>
        </div>
        @*游戏页*@
        <div id="divGame" class="hidden">
            <div class="bg-success ">
                <strong><span id="spnName">ss</span> </strong><span id="spnTimer"></span>
            </div>
            <canvas id="canGame" width="940" height="600"></canvas>
        </div>
    </div>
    <script src="~/Scripts/jquery-3.1.0.min.js"></script>
    <script src="~/Scripts/lodash/lodash.min.js"></script>
    <script src="~/Scripts/bootstrap3.3.7/js/bootstrap.min.js"></script>
    <script src="~/Scripts/layer/layer.js"></script>
    <script src="~/Scripts/autoJS/auto.js"></script>
    <script src="~/Scripts/jCanvas/jcanvas.js"></script>
    <script src="~/AppTS/Snake/Util.js"></script>

    <script src="~/AppTS/Snake/Snake.js"></script>
    <script src="~/AppTS/Snake/Game.js"></script>
    <script src="~/AppTS/Snake/app.js"></script>
</body>
</html>
